﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using MuseumApp.Data.Models;

namespace MuseumApp.Data
{
    public class MuseumDbContext : DbContext
    {
        public MuseumDbContext() : base("DefaultConnection") {
            this.Configuration.LazyLoadingEnabled = false;
        }
        public DbSet<Museum> Museums { get; set; }
        public DbSet<Review> Reviews { get; set; }

        public DbSet<Tag> Tags { get; set; }

        public DbSet<MuseumTags> Museumtags { get; set; }
    }
}
